package com.redijedi.tapestry.pages;

import java.util.Date;

import org.apache.tapestry.annotations.Component;
import org.apache.tapestry.annotations.Persist;
import org.apache.tapestry.corelib.components.TextField;

import com.redijedi.tapestry.components.DateField;

/**
 * @author torr
 * 
 */
public class DateFieldTestPage {

	@SuppressWarnings("unused")
	@Component(parameters = "value=date")
	private DateField _dateField;

	@SuppressWarnings("unused")
	@Component(parameters = "value=text")
	private TextField _textField;

	@Persist("flash")
	private Date _date;

	@Persist("flash")
	private String _text;

	public Date getDate() {
		return _date;
	}

	public void setDate(Date date) {
		_date = date;
	}

	public String getText() {
		return _text;
	}

	public void setText(String text) {
		_text = text;
	}

}
